package com.topvision.constants;

public class AppConstants {
    /**
     * 所有上传文件根目录
     */
    public static final String LOCAL_SYSUPLOAD_PATH = "E:/topvisionupload/";
    public static final String SYSUPLOAD_PATH = "/usr/local/topvisionupload/";

    /**
     * 备份目录
     */
    public static final String BACKUP_PATH = SYSUPLOAD_PATH + "backup/";
    /**
     * 备份目录
     */
    public static final String BUREAU_PATH = SYSUPLOAD_PATH + "bureau/";
    public static final String VIDEOSTREAM_PATH = SYSUPLOAD_PATH + "videostream/";
    public static final String ASSISTANT_PATH = SYSUPLOAD_PATH + "assistant/";
    public static final String ASSISTANT_FACE_PATH = ASSISTANT_PATH + "face/";
    public static final String ASSISTANT_IMAGE_PATH = ASSISTANT_PATH + "image/";

    /**
     * 文件後綴
     */
    public static final String FILE_EXT_JPG = ".jpg";
    public static final String FILE_EXT_PNG = ".png";
    public static final String FILE_EXT_BMP = ".bmp";
    public static final String FILE_EXT_MP4 = ".mp4";
    public static final String FILE_EXT_WAV = ".wav";
    public static final String FILE_EXT_3GP = ".3gp";
    public static final String FILE_EXT_XLS = ".xls";
    public static final String FILE_EXT_XLSX = ".xlsx";
    public static final String FILE_EXT_TXT = ".txt";

    public static final String STR_PHOTO = "photo";
    public static final String STR_VIDEO = "video";
    public static final String STR_FILE = "file";
    public static final String STR_LOGS = "logs";
    public static final String STR_VIDEOSTREAM = "videostream";

    /**
     * 所属模块
     */
    public static final String MODULE_BACKUP = "backup";
    public static final String MODULE_VIDEOSTREAM = "videostream";

    public static final boolean DELETE_FALSE = false;
    public static final boolean DELETE_TRUE = true;
}
